package com.ldh.spring_sucurity.dao;

import com.ldh.spring_sucurity.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author LiuDehuai
 * @fileName:UserDao
 * @Date:2020/9/29 9:46
 * <author>     <time>     <version>    <desc>
 * 作者姓名       修改时间    版本号       描述
 */
public interface UserDao extends JpaRepository<User, Long> {
    User findByUsername(String username);
}
